package com.phoenix.mysql.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

/***
 * @Auther: 汪孟飞
 * @Description:
 * @Date: 2025-05-23 21:33
 * @Copyright:
 ***/
@Data
@TableName("t_user")
public class User {

    @TableId(type = IdType.AUTO)
    private int id;

    @TableField
    private String name;

    @TableField
    private int age;

    @TableField
    private String address;
}
